package com.itheima.log.log4j2;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class Test {

    private static final Logger logger = LogManager.getLogger(Test.class);

    public static void main(String[] args) {
        logger.info("hello world!");
        String name = "张三丰";
        logger.info("hello world {}", name);
    }
}
